package com.example.demo04.service.Impl;

import com.example.demo04.dao.UserDao;
import com.example.demo04.pojo.Users;
import com.example.demo04.service.UserDaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserDaoServiceImpl implements UserDaoService{
    @Autowired
    private UserDao userDao;
    @Override
    public List<Users> getAll() {

        return userDao.getAll();
    }
}
